<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>

<title>My JSP 'edit.jsp' starting page</title>
<link href="style/bootstrap.css" rel="stylesheet">
<style type="text/css">
.control-group {
	padding-left: 25%;
}

.container {
	padding-left: 25%;
}
</style>


</head>

<body>

	<div class="navbar">
		<div class="navbar-inner">
			<div class="container" style="width: auto;">
				<a class="btn btn-navbar" data-target=".nav-collapse"
					data-toggle="collapse"> <span class="icon-bar"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> </a> <a
					class="brand" href="#">品竹缘健康生活馆</a>
				<div class="nav-collapse">
					<ul class="nav">
						<li class="active"><a href="#">首页</a></li>
						<li class="active"><a href="#">用户管理</a></li>
					</ul>

					<ul class="nav pull-right">
						<li class="divider-vertical"></li>
						<li><a href="#">admin</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>

	<div class="control-group">
		<form action="main.jspx?task=edit " method="post">
			<div>修改数据</div>
			<hr />
			<label class="control-label" for="focusedInput"> 日期 </label>

			<div class="controls">
				<input id="focusedInput" class="input-xlarge focused" type="text"
					name="time" value="${sale.time}">
			</div>

			<label class="control-label" for="focusedInput"> 单位 </label>
			<div class="controls">
				<input id="focusedInput" class="input-xlarge focused" type="text"
					name="danwei" value="${compName}">
			</div>

			<label class="control-label" for="focusedInput"> 导游 </label>
			<div class="controls">
				<input id="focusedInput" class="input-xlarge focused" type="text"
					name="tr" value="${trName}">
			</div>

			<label class="control-label" for="focusedInput"> 人数 </label>
			<div class="controls">
				<input id="focusedInput" class="input-xlarge focused" type="text"
					name="num" value="${sale.num}">
			</div>

			<label class="control-label" for="focusedInput"> 客源地 </label>
			<div class="controls">
				<input id="focusedInput" class="input-xlarge focused" type="text"
					name="from" value="${sale.from}">
			</div>

			<label class="control-label" for="focusedInput"> 销售额 </label>
			<div class="controls">
				<input id="focusedInput" class="input-xlarge focused" type="text"
					name="total" value="${sale.totalmoney}">
			</div>
			<input type="hidden" name="id" value="${sale.id }"> <input
				id="loginBtn" type="submit" class="btn btn-primary" value="提交" /> <input
				id="loginBtn" type="button" class="btn" value="取消" />
		</form>
	</div>

</body>
</html>
